package org.edu.modules.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.edu.modules.base.entity.VeBaseUserAccess;

@Mapper
public abstract interface VeBaseUserAccessMapper extends BaseMapper<VeBaseUserAccess> {

    public abstract List<Map<String, Object>> userAccessStatistics(List<Date> dates);

    public abstract int errorUserAccessAllList(VeBaseUserAccess veBaseUserAccess);

    public abstract List<Map<String, Object>> errorUserAccessPageList(VeBaseUserAccess veBaseUserAccess);

    public abstract int userAccessAllList(VeBaseUserAccess veBaseUserAccess);

    public abstract List<Map<String, Object>> userAccessPageList(VeBaseUserAccess veBaseUserAccess);

    public abstract List<Map<String, Object>> userAccessHourStatistics(List<String> strings);

    public abstract Map userAccessDayStatistics(String dt);

    public abstract int userAppALLStatistics();

    public abstract int userAppNormalStatistics();

    public abstract int userAppLockStatistics();

    //public abstract int userAppAccessStatistics();
}
